namespace Front._1127;

public partial class AddBookForm : Form
{
    public AddBookForm()
    {
        InitializeComponent();
    }


    private void textBox1_TextChanged(object sender, EventArgs e)
    {
        // 标签（外部）：说明输入框用途
        Label lblBookNumber = new Label
        {
            Text = "书号:",
            Location = new Point(30, 30)
        };

// 输入框（右侧）：接收用户输入
        TextBox txtBookNumber = new TextBox
        {
            Location = new Point(90, 27), // 与标签对齐
            Width = 180
        };
    }
}